package com.itheima.tlias84.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.itheima.tlias84.entity.Expr;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class SelectEmpDTO {
    private int id;
    private String name;
    private int gender;
    private Integer job;
    private String image;
    private LocalDate entryDate;
    private String deptName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    //工作经历
    private List<Expr> exprList;
}
